// types/class/class.ts
export interface TeacherInfo {
  nickname: string;
  faculty: string;
  username: string;
}

export interface ClassInfo {
  class_id: number;
  class_name: string;
  number_now: number;
  number_max: number;
  teacher: string;
  course_name: string;
  invitation_code: string;
  class_cover_url: string;
  remark?: string;
}

export type ClassTabType = 'intro' | 'managed' | 'joined';

export interface AddClassFormData {
  className: string;
  classroom?: string;
  otherTeacher: string[];
  classImg: string;
  classStudengNum: number;
  tea_type: 'phone' | 'username';
  remark?: string;
}
